// samsting : this file is auto create.

#include "R-kvstore/2015-01-01/CreateInstanceRequest.h"

namespace aliyun { namespace R_kvstore {

CreateInstanceRequest::CreateInstanceRequest() : RpcAcsRequest("R-kvstore", "2015-01-01", "CreateInstance") {
}

int64 CreateInstanceRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void CreateInstanceRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& CreateInstanceRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void CreateInstanceRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 CreateInstanceRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void CreateInstanceRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& CreateInstanceRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void CreateInstanceRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}

const string& CreateInstanceRequest::GetInstanceName(void) const {
  return InstanceName_;
}
void CreateInstanceRequest::SetInstanceName(const string& InstanceName) {
  InstanceName_ = InstanceName;
  PutQueryParameter("InstanceName", InstanceName_);
}

const string& CreateInstanceRequest::GetPassword(void) const {
  return Password_;
}
void CreateInstanceRequest::SetPassword(const string& Password) {
  Password_ = Password;
  PutQueryParameter("Password", Password_);
}

int64 CreateInstanceRequest::GetCapacity(void) const {
  return Capacity_;
}
void CreateInstanceRequest::SetCapacity(int64 Capacity) {
  Capacity_ = Capacity;
  PutQueryParameter("Capacity", string_ValueOfInt64(Capacity_));
}

const string& CreateInstanceRequest::GetZoneId(void) const {
  return ZoneId_;
}
void CreateInstanceRequest::SetZoneId(const string& ZoneId) {
  ZoneId_ = ZoneId;
  PutQueryParameter("ZoneId", ZoneId_);
}

const string& CreateInstanceRequest::GetConfig(void) const {
  return Config_;
}
void CreateInstanceRequest::SetConfig(const string& Config) {
  Config_ = Config;
  PutQueryParameter("Config", Config_);
}

const string& CreateInstanceRequest::GetChargeType(void) const {
  return ChargeType_;
}
void CreateInstanceRequest::SetChargeType(const string& ChargeType) {
  ChargeType_ = ChargeType;
  PutQueryParameter("ChargeType", ChargeType_);
}

int64 CreateInstanceRequest::GetPeriod(void) const {
  return Period_;
}
void CreateInstanceRequest::SetPeriod(int64 Period) {
  Period_ = Period;
  PutQueryParameter("Period", string_ValueOfInt64(Period_));
}

const string& CreateInstanceRequest::GetToken(void) const {
  return Token_;
}
void CreateInstanceRequest::SetToken(const string& Token) {
  Token_ = Token;
  PutQueryParameter("Token", Token_);
}


} } // namespace aliyun { namespace R_kvstore {

// end of file 
